home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Path(V1.3 in C:) (2.x/3.x internal)
-
-
-
- NAME
- Path - Set or display the CLI search path for
- executable files.
-
- SYNOPSIS
- 1.3:
- Path [SHOW] [ADD or RESET] Dir(S) [QUIET]
-
- 2.X/3.X:
- Path [SHOW] [ADD or RESET OR REMOVE] Dir(S)
- [QUIET]
-
- DESCRIPTION
- The Path command lets you add directories to the
- places AmigaDOS looks for executable programs. By
- default AmigaDOS looks in the current directory, and then
- in the C: logical device (set by using Assign). You can
- add directories to search between these two points by
- using Path. Note that you can use wildcards when
- specifying directories to search to Path. If a wildcard
- is specified, the first directory which matches the
- wildcard pattern will be added. Any number of directories
- can be added to the path with one command.
-
- This command may also be used to display the current
- search path.
-
- OPTIONS
- ADD
- This option allows you to add directories to the
- current path. Note that you do not need to use this
- keyword, if you simply type directories as arguments,
- this action is implied. The new directory will get
- searched for after the other user-specified directories,
- but before the C: directory.
-
- SHOW
- This displays the current path. The same behavior may
- be obtained by simply using Path without any arguments.
-
- RESET
- This will replace the old path with the new path you
- specify. If you do not specify any directories to
- search, the Path defaults to the current directory, and
- then to C:. It is not possible currently to remove these
- two directories from the path. If more than one directory
- is added, then each directory name is seperated by a
- space.
-
- QUIET
- This prohibits displaying requestors for disks which
- are not mounted when displaying the path with SHOW. If
- you use this switch, and the disks are not currently
- mounted (i.e., in a disk drive) then only the volume name
- will be displayed.
-
- REMOVE
- 2.x/3.x only: this lets you delete one or more
- directories from the search path. If more than one
- directory is named then they must be seperated by spaces.
-
- EXAMPLES
-
- 1) To add drives df1: and df2: to the searchpath:
-
-
- Path ADD df1: df2:
-
-
- 2) To reset the path to search drives one and two:
-
- Path RESET df1: df2:
-
-
- 3) To add the first directory found on DF1: that
- begins with the letter b.
-
- Path ADD DF1:b#?
-